package wwj.bean;

public class User {
    private int id;
    private String tel;
    private String usr;
    private String email;
    private String pwd;
    private String sex;

    public User(int id, String tel, String usr, String email, String pwd, String sex) {
        this.id = id;
        this.tel = tel;
        this.usr = usr;
        this.email = email;
        this.pwd = pwd;
        this.sex = sex;
    }
    public  User(String usr,String pwd){
        this.usr=usr;
        this.pwd=pwd;
    }
    public User(){

    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getUsr() {
        return usr;
    }

    public void setUsr(String usr) {
        this.usr = usr;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }
    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", tel='" + tel + '\'' +
                ", usr='" + usr + '\'' +
                ", email='" + email + '\'' +
                ", pwd='" + pwd + '\'' +
                ", sex='" + sex + '\'' +
                '}';
    }
}
